package com.westcom.healthmate.service;

import com.westcom.healthmate.bean.MiraSleepDailyEvaluate;
import com.westcom.healthmate.bean.MiraSleepDailyReport;
import com.westcom.healthmate.common.exception.ErrorException;
import com.westcom.healthmate.po.MiraSleepDataPo;

import java.util.List;

public interface MiraService
{
    public MiraSleepDailyEvaluate getSleepEvaluate(long userId, int sensorId, long st, long et) throws ErrorException;
    public List<MiraSleepDataPo> saveDataFromBytes(String mac, byte[]data) throws ErrorException;
    public MiraSleepDailyReport getSleepReport(long userId, int sensorId, long st, long et) throws ErrorException;
}
